<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>信息</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/style/mobiscroll_003.css" />
    <link rel="stylesheet" href="<%=request.getContextPath()%>/style/mobiscroll_002.css" />
    <%--<link  rel="stylesheet" href="<c:url value="/style/common.css" />"/>--%>
    <script type="text/JavaScript" src='<%=request.getContextPath()%>/script/jquery-1.11.0.js'></script>
    <script  type="text/JavaScript" src="<%=request.getContextPath()%>/script/modify.js"></script>
    <%--<script src="<%=request.getContextPath()%>/script/mobiscroll_002.js"></script>--%>
    <%--<script src='<%=request.getContextPath()%>/script/mobiscroll.js'></script>--%>
    <script src='<%=request.getContextPath()%>/script/Calendar.js'></script>
</head>
<body>
<div class="mask" style="display: none;"></div>
<div class="container-mask remindOne" style="display: none;">
    <div class="remind">提 示</div>
    <p id="notice" style="text-align: center;"></p>
    <div class="confirm confirmFirst confirmOnly" style="width: 5.8rem;">确定</div>
</div>
<div id="addPage">
    <h3>完善客户信息	<span >（*为必填）</span></h3>
    <div >
        <label><span >*</span>姓名</label>
        <input id="name" type="text">
    </div>
    <div >
        <label><span >*</span>昵称</label>
        <input id="nickName" type="text">
    </div>
    <div id="chooseSex">
        <label><span >*</span>性别</label>
        <label><input name="sex" type="radio" value="1" />女 </label>
        <label><input name="sex" type="radio" value="2" />男 </label>
    </div>
    <div >
        <label><span >*</span>生日</label>
        <input id="birthDay" type="text" readonly="readonly" onclick="fPopCalendar(event,this,this)" >
    </div>
    <div >
        <label><span >*</span>地址</label>
        <input id="address" type="text">
    </div>
    <div >
        <label><span >*</span>电话号码</label>
        <input id="phoneNumber" type="text">
    </div>
    <div id="hiddenOrShow" style="display:none" >
        <div id="noticeMsg"></div>
    </div>

    <input type="button" id="addOrModify" value="保存" >
    <input type="button" id="close" value="关闭">
</div>
<%--<script type="text/javascript">--%>
    <%--$(function () {--%>
        <%--var currYear = (new Date()).getFullYear();--%>
        <%--var opt = {};--%>
        <%--opt.date = {--%>
            <%--preset: 'date'--%>
        <%--};--%>
<%--//        opt.datetime = {--%>
<%--//            preset: 'datetime'--%>
<%--//        };F--%>
<%--//        opt.time = {--%>
<%--//            preset: 'time'--%>
<%--//        };--%>
        <%--opt.default = {--%>
            <%--theme: 'android-ics light', //皮肤样式--%>
            <%--display: 'modal', //显示方式--%>
            <%--mode: 'scroller', //日期选择模式--%>
            <%--dateFormat: 'yyyy-mm-dd'--%>
            <%--, lang: 'zh'--%>
            <%--, showNow: true--%>
            <%--, nowText: "今天"--%>
            <%--, startYear: 1900, //开始年份--%>
            <%--endYear: currYear  //结束年份--%>
        <%--};--%>
<%--//        $("#appDate").mobiscroll($.extend(opt['date'], opt['default']));--%>
        <%--var optDateTime = $.extend(opt['datetime'], opt['default']);--%>
<%--//        var optTime = $.extend(opt['time'], opt['default']);--%>
        <%--$("#birthDay").mobiscroll(optDateTime).datetime(optDateTime);--%>
<%--//        $("#appTime").mobiscroll(optTime).time(optTime);--%>

        <%--var bTimeTmp = (((new Date().toLocaleDateString().replace(/\//g,'-')+" 00:00").replace("年","-")).replace("月","-")).replace("日","");--%>
        <%--$("#birthDay").val(bTimeTmp);--%>


<%--//        $("#beginTime").val(new Date().toLocaleDateString().replace(/\//g,'-')+" 00:00");--%>
<%--//        $("#endTime").val(new Date().toLocaleDateString().replace(/\//g,'-')+" 23:59");--%>
        <%--$("#next").click();--%>
    <%--});--%>
<%--</script>--%>
</body>
</html>
